package com.huawei.hwclouds.lubanops.demo.shopping.cart.biz.mapper;

import java.util.List;

import com.huawei.hwclouds.lubanops.demo.common.biz.Mapper;
import com.huawei.hwclouds.lubanops.demo.shopping.cart.biz.model.ShoppingCartsModel;
import com.huawei.hwclouds.lubanops.demo.shopping.cart.biz.param.ShoppingCartsParam;

/**
 * <br>
 *
 * @author w00425575
 * @since 2019年4月26日
 */
public interface ShoppingCartsMapper extends Mapper<ShoppingCartsModel, ShoppingCartsParam> {

    List<ShoppingCartsModel> queryByUserId(String userId);

    void clear();

    ShoppingCartsModel errorQuery(int id);
}
